import java.util.Scanner;
public class Sixth{
	public static void main(String[] args){
	String a[]={"A","B","C","D","E","F","H","I","J","K"};
	Scanner sc =new Scanner(System.in);
	Double b[]= new Double[10];
	for(int i=0;i<a.length;i++){
	System.out.print("Please enter the price of "+a[i]+" is:");
	b[i]=sc.nextDouble();
	}
	double sum = 0;
	for(int i=0;i<a.length;i++){
	System.out.print("Please enter the price of"+a[i]+"is:");
	sum = sum+b[i];
	}
	System.out.println("The total amount is"+sum+"dollars");
	}
}